#ifndef PROPETIES_H
#define PROPETIES_H

#include <QDialog>
#include "SQL/qxsqlclass.h"
namespace Ui {
    class Propeties;
}

class Propeties : public QDialog
{
    Q_OBJECT

public:
    explicit Propeties(QWidget *parent = 0);
    ~Propeties();
    void view();
private:
    int m_config;
    void connect_all();
    void disconnect_all();
    QxSqlClass m_sql;
private slots:
    void OnShow();
    void OnCancel();
    void OnTestCOnnection();
    void OnSave();
private:
    Ui::Propeties *ui;
};

#endif // PROPETIES_H
